/*
 * @Author: mikey.zhaopeng
 * @Date: 2022-06-11 11:25:05
 * @Last Modified by:   mikey.zhaopeng
 * @Last Modified time: 2022-06-11 11:25:05
 */
package utils

import jsoniter "github.com/json-iterator/go"

var Jjson = jsoniter.Config{
	EscapeHTML:             true,
	ValidateJsonRawMessage: true,
	TagKey:                 "jjson",
}.Froze()

func SetDebug() {
	Jjson = jsoniter.Config{
		EscapeHTML:             true,
		ValidateJsonRawMessage: true,
		TagKey:                 "jjson",
		SortMapKeys:            true,
	}.Froze()
}
